<template>
  <div>
    <van-nav-bar
      title="医疗美容"
      left-text="返回"
      right-text="按钮"
      left-arrow
      @click-left="onClickLeft"
      @click-right="onClickRight"
    />
    <div id="dsk">
           <span>医生</span>
          <div id="ask">
               <p>Hello 女士</p>
          </div>
     </div>

      <div id="dsk1">
           <span>医生</span>
          <div id="ask1">
               <p>不要给我发消息 发了我也不回</p>
          </div>
     </div>

      <div id="dsk2">
           <span>某</span>
          <div id="ask2">
               <p>........</p>
          </div>
     </div>

  </div>
</template>

<script>
import { Toast } from "vant";
export default {
  methods: {
    onClickLeft() {
      Toast("返回");
      this.$router.go(-1);
    },
    onClickRight() {
      Toast("按钮");
    },
  },
};
</script>

<style>
#dsk {
  width: 100%;
  height: 100%;
  background-color: aquamarine;
  position: relative;
}

#dsk span {
  height: 100px;
  width: 100px;
  background-color:#CECECE;
  border-radius: 50%;
  position: absolute;
  top: 60px;
  left: 0px;
  text-align: center;
  line-height: 100px;
  font-size: 30px;
  color: rgb(181, 18, 62);
}
#ask {
  height: 200px;
  position: absolute;
  top: 30px;
  left: 120px;
  text-align: center;
  line-height: 200px;
  width: 500px;
  background-color: #BEBEBE;
}

#dsk1 {
  width: 100%;
  height: 100%;
  background-color: aquamarine;
  position: relative;
}

#dsk1 span {
  height: 100px;
  width: 100px;
  background-color:#CECECE;
  border-radius: 50%;
  position: absolute;
  top: 360px;
  left: 0px;
  text-align: center;
  line-height: 100px;
  font-size: 30px;
  color: rgb(181, 18, 62);
}
#ask1 {
  height: 200px;
  position: absolute;
  top: 330px;
  left: 120px;
  text-align: center;
  line-height: 200px;
  font-size: 30px;
  width: 500px;
  background-color: #BEBEBE;
}


/*  */
#dsk2 {
  width: 100%;
  height: 100%;
  background-color: aquamarine;
  position: relative;
}

#dsk2 span {
  height: 100px;
  width: 100px;
  background-color:#CECECE;
  border-radius: 50%;
  position: absolute;
  top: 760px;
  right: 0px;
  text-align: center;
  line-height: 100px;
  font-size: 50px;
  color: rgb(181, 18, 62);
}
#ask2 {
  height: 200px;
  position: absolute;
  top: 730px;
  right: 120px;
  text-align: center;
  line-height: 200px;
  font-size: 50px;
  width: 500px;
  background-color: #BEBEBE;
}
</style>
